/**
 * API列表，建议最多两层嵌套
 *
 * url值的格式为 String/Object
 * String: url的值
 * Object：{ // axios config options
 *  url: '',
 *  method: '',// get/post/put/delete, 为URL的请求方法，不写默认为post
 *  baseUrl: ''
 * }
 */
export default {
  user: {
    login: '/api/user/login',
    info: '/api/user/info',
    register: '/api/user/register',
    uploadPic: '/api/user/uploadPic',
    updateUserInfo: '/api/user/updateUserInfo',
  },
  friend: {
    queryBySearchText: '/api/friend/queryBySearchText',
    addFriend: '/api/friend/addFriend'
  },
  message: {
    getSessionList: '/api/message/getSessionList',
    getSessionInfo: '/api/message/getSessionInfo',
    getMessage: '/api/message/getMessage',
    getSessionBySessionId: '/api/message/getSessionBySessionId'
  }
};
